package com.swu.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 医疗团队与质控表
 * </p>
 *
 * @author 勾新杰
 * @since 2025-06-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("medical_team")
@Schema(name = "MedicalTeam", description = "医疗团队与质控表")
public class MedicalTeam implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "团队ID")
    @TableId(value = "team_id", type = IdType.AUTO)
    private Integer teamId;

    @Schema(description = "病案号")
    private String medicalRecordId;

    @Schema(description = "科主任")
    private String departmentHead;

    @Schema(description = "主任(副主任)医师")
    private String chiefPhysician;

    @Schema(description = "主治医师")
    private String attending;

    @Schema(description = "住院医师")
    private String resident;

    @Schema(description = "责任护士")
    private String nurse;

    @Schema(description = "编码员")
    private String coder;

    @Schema(description = "病案质量等级：1-甲,2-乙,3-丙")
    private Integer qualityGrade;

    @Schema(description = "质控医师")
    private String qcDoctor;

    @Schema(description = "质控护士")
    private String qcNurse;

    @Schema(description = "质控日期")
    private LocalDate qcDate;


}
